class CreateRecipes < ActiveRecord::Migration
  
  def self.up
    create_table :recipes do |t|
      t.string :title
      t.string :description
      t.integer :category_id
      t.string :mainingredient
      t.text :instructions
      t.integer :rating
      t.date :lastdate
      t.timestamps
    end
  end

  def self.down
    drop_table :recipes
  end

end
